﻿using Windows.SeedWork;

namespace Windows.FileStorage.Domain
{
    public class Attachment: CreateEntity<long>
    {
        /// <summary>
        /// 
        /// </summary>
        public long? OwnerId { get; set; }
        /// <summary>
        /// 附件类型
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 附件名称
        /// </summary>
        public string FileName { get; set; } = "";
        /// <summary>
        /// 附件大小
        /// </summary>
        public long FileSize { get; set; }
        /// <summary>
        /// 附件后缀名
        /// </summary>
        public string FileExtend { get; set; } = "";
        /// <summary>
        /// 
        /// </summary>
        public string BasePath { get; set; } = "";
        /// <summary>
        /// 保存路径
        /// </summary>
        public string SavePath { get; set; } = "";
    }
}
